package com.liyao.windowtest4;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@MapperScan(value="com.liyao.windowtest4.dao")
public class Windowtest4Application {
    public static void main(String[] args) {
        System.out.println(System.getProperty("user.dir"));
        System.setProperty("spring.config.location", "file:"+System.getProperty("user.dir")+"/config/application.properties");
        SpringApplication.run(Windowtest4Application.class, args);
    }

}
